package com.tomehay.termprojectmanage_server.service;

import com.tomehay.termprojectmanage_server.pojo.Model.Termproject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tomehay.termprojectmanage_server.pojo.VO.ResultVO;
import com.tomehay.termprojectmanage_server.pojo.VO.TermProjectVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tomehay
 * @since 2023-06-20
 */
public interface TermprojectService extends IService<Termproject> {

    ResultVO<List<Termproject>> GetTermProjectByCourseId(int courseId);

    ResultVO<Void> DeleteTermProjectById(int id);

    ResultVO<Void> CreateTermProject(Termproject termproject);

    ResultVO<Void> UpDateTermProject(Termproject termproject);

    ResultVO<List<TermProjectVO>> GetTermProjectByCourseIdAndStudentId(int courseId, int studentId);
}
